cmake_minimum_required(VERSION 3.20)
project(opencv)
find_package(OpenCV REQUIRED)

set(CMAKE_CXX_STANDARD 14)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(opencv main.cpp)

target_link_libraries(opencv
        ${OpenCV_LIBS})